package com.xjaq.dify.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("引用和归属分段")
public class RetrieverResource {
    
    @ApiModelProperty("位置")
    private Integer position;
    
    @ApiModelProperty("数据集ID")
    private String datasetId;
    
    @ApiModelProperty("数据集名称")
    private String datasetName;
    
    @ApiModelProperty("文档ID")
    private String documentId;
    
    @ApiModelProperty("文档名称")
    private String documentName;
    
    @ApiModelProperty("分段ID")
    private String segmentId;
    
    @ApiModelProperty("分数")
    private Double score;
    
    @ApiModelProperty("内容")
    private String content;
}